package com.chuangjiangx.member.stored.ddd.application.command;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
public class RechargeUrlCommand {


    private Long merchantUserId;

    /**
     * 储值规则id
     */
    private Long rechargeRuleId;
    /**
     * 自定义充值时有值
     */
    private BigDecimal customAmount;

    /**
     * 会员id
     */
    private Long memberId;

    public RechargeUrlCommand(Long merchantUserId, Long rechargeRuleId, BigDecimal customAmount, Long memberId) {
        this.merchantUserId = merchantUserId;
        this.rechargeRuleId = rechargeRuleId;
        this.customAmount = customAmount;
        this.memberId = memberId;
    }
}
